package com.xh.jf_blog.bean;

import com.xh.jf_blog.common.annotation.CreatTime;
import com.xh.jf_blog.common.annotation.CreatUser;
import com.xh.jf_blog.common.annotation.UpdateTime;
import com.xh.jf_blog.common.annotation.UpdateUser;
import lombok.Data;

import java.util.Date;

@Data
public class Comment {
    private Integer commentId;
    private Integer userinfoId;
    private Date commentTime;
    private String content;
    private Integer articleId;
    private Integer status;
    @CreatTime
    private Date createTime;
    @CreatUser
    private Integer createUser;
    @UpdateTime
    private Date updateTime;
    @UpdateUser
    private Integer updateUser;

    private Article article;
    private Userinfo userinfo;
}
